package analyser;

import javax.annotation.Resource;//EJB3.0

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.beans.factory.annotation.Qualifier;
import org.springframework.stereotype.Component;

import collector.Collector;
import collector.CollectorFactory;
@Component
public class ClustorAnalyser implements Analyser{
	@Resource
	@Qualifier(value="usbCollector")
	private Collector collector;
	
	

	@Override
	public void analyse() {
		collector.collect();
		System.out.println("clustor analyser analyse.....");
		
	}

}
